package com.partners.service;

import com.partners.dao.dto.TaskInputDTO;
import com.partners.dao.bo.TaskDO;
import com.partners.model.Paging;
import org.springframework.web.servlet.ModelAndView;

import java.util.Map;

/**
 * @author liangyongle
 * @date 2018-12-24
 */
public interface TaskService {
    Map<String,Object> getMyTaskList(Paging paging, Integer uid);

    Map<String,Object> getTaskDetail(Integer id);

    void editTask(TaskDO taskDO);

    Map<String,Object> getAllTaskList(Paging paging, Integer classId, String title, Integer timeType, Integer returnType);

    void publishTask(TaskInputDTO taskInputDTO);

    void addReadTask(String openId, Integer id);

    Map<String,Object> getTaskInfo(Integer id);

    ModelAndView getShareView(String url);
}
